package it.yuzuojian.com.service;

import it.yuzuojian.com.domain.Consumer;

import java.util.List;

public interface ConsumerService {
    public Boolean insert(Consumer consumer);
    public Boolean update(Consumer consumer);
    public Boolean delete(Integer[] ids);
    public Consumer selectById(Integer id);
    public List<Consumer> selectAll();
    public List<Consumer> selectByUsername(String username);
    public Consumer selectOneByUsername(String username);
}
